package com.xin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xin.entity.crm.PermissionEntity;
import com.xin.entity.crm.RoleEntity;
import com.xin.mapper.RoleMapper;
import com.xin.service.RoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 权限角色信息
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, RoleEntity> implements RoleService {
    /**
     * 查看所有权限角色信息
     * @return
     */
    @Override
    public List<RoleEntity> findList() {
        return this.baseMapper.selectList(null);
    }

    @Override
    public List<String> findEmployeeHasPermission(Long id) {
        return null;
    }
}
